home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
176-200
/
scopedisk182
/
fontconvert
/
fixfont.readme
< prev
next >
Wrap
Text File
|
1995-03-19
|
5KB
|
112 lines
FIXFONT v1.2
In the course of developing the Font Converter (FC) we came across
some problems with the PostScipt fonts we were converting. Several of the
fonts had information missing from them. The most important pieces being the
full name of the font, the family the font belongs to, and the weight of the
font (eg. Normal, Bold, Italic, etc. ). This information was usually missing
in the font file itself, but could be found in the correspounding .AFM file.
We needed a way to inspect the various files to see if they had the
information we needed and if not a way to put that information in the file.
Clearly a job for a program! So the FixFont program was written.
This program does 3 things: First it enables you to inspect an IBM style
PostScript type 1 font to see if the needed information is there, and
second it gives you the POWER(!!) to put (or change) the information there.
Thirdly it allows you to inspect and change the Font title in an ABF file.
HOW TO PROPERLY USE THE PROGRAM:
Needed before use:
This program needs arp.library 1.3 or greater. A copy of this is
included. Install the arp.library in your LIBS: directory.
Fixing Type 1 and AFM files:
This program makes changes to three "important" PostScript commands. These
commands are: /FullName, /Family, and /Weight. Now why are these so
important. These commands are used by PageStream in the font requester.
PageStream will group all the different font weights under the same
family name. The /FullName will appear in the box on the left side of
the requester and the /Weight's will appear in the middle box. Grouping
is by the /Family name. This is the main reason for using the program.
When these entries are correct the font requester will have a better time
managing the different font files. If these entries are messed up, you will
notice it in the font requester.
The first thing you will want to do is to INSPECT the font files to see if
they have the required information. Do this by using the INSPECT button.
When pressed the ARP file requester is presented. Select the file you wish
to inspect (either the Type 1, the AFM, or the ABF file). The program
will read through the file looking for the /FullName, /Family, and the
/Weight entries. When the READING indicator goes away the entire file has
been scanned. The entries that were found are listed in the window.
For a given font family, every file in that family must have the same name
in the /Family entry. This ensures that the various files will be grouped
under the same name in the Type Face section of the font requester. The
/Weight entry should be different in each font file for this family. This
will cause each weight to show up in the Style section of the font
requester. Be sure that all the files in a family have matching /Family
entries (type 1's and AFM's, and the ABF title).
If you have INSPECTed a Type 1 file and found that some entries (or all)
are missing, try the corresponding AFM file. They can usually be found in
the AFM file. If they are not there, you will have to supply values for
them yourself. If they are there, make any changes that need to be made
(see above paragraph) and you are now ready to SET the information.
To set the information in a file, first you need to have the correct
information to set. Second you press the SET button. This will bring up
the ARP file requester so you can select which file you wish to SET.
Select a file and press OK. The file requester will go away and the
WRITING indicator will appear in the window. The old file will be renamed
with an extension of ".BAK" at the end of the "fixing" the old file will be
deleted.
You can set the information in both type 1's and AFM's. For example, if you
INSPECT an AFM file and it contains all the information needed you can SET
the Type 1 file (for that AFM).
Basically INSPECT will fill the window with information, and
SET will take whatever information is in the window and write it to the
file.
Fixing ABF's:
There is only one thing in an ABF that needs to be fixed and that is the
title. When you inpsect an AFB file the only information you can change
is the FullName (title). This is reflected in the window by disabling the
unused gadgets. The FullName field of the ABF should be in the following
format: TypeFace-Style. For example: Berkey-BoldItalic. The TypeFace name
should be the same as the /Family names of the other files in the family
(the type 1 and the AFM).
Well now that you know all there is to know it is time to let you get on
with fixing those fonts!
As with all things - a warning:
***********************************************************************
* *
* BE SURE TO MAKE BACKUP COPIES OF THE FONTS BEFORE YOU FIX THEM! *
* (just in case) *
* *
***********************************************************************
Good Luck!
Gary Knight
Soft-Logik Publishing Corporation